package com.chb.entity;

import com.chb.interfaces.Sale;

/**
 * @description:
 * @author: CHB
 * @create: 2021-12-07 16:45
 **/
public class Apple extends Fruits implements Sale {

    public Apple(){}

    public Apple(int weight){
        super.setWeight(weight);
    }

    @Override
    public void print(){
        System.out.println("apple");
    }

    @Override
    public void sale() {
        System.out.println("apple sale");
    }

}
